package com.ruoyi.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author lwq
 * @ClassName ResetUserPass.java
 * @Description //TODO $
 * @createTime 2022-07-04 14:50
 */
@ApiModel(value = "ResetUserPass",description="用户忘记密码")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
public class ResetUserPass {

    /**
     * 用户密码
     */
    @ApiModelProperty(name="password", value="用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;

    /**
     * 验证码
     */
    @ApiModelProperty(name="companyCount", value="验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

    /**
     * 唯一标识
     */
    @ApiModelProperty(name="uuid", value="唯一标识")
    @NotBlank(message = "唯一标识不能为空")
    private String uuid;

    /**
     * 手机号
     */
    @ApiModelProperty(name="phoneNum", value="手机号")
    @NotBlank(message = "手机号不能为空")
    private String phoneNum;

}
